extends Node2D

var is_achieved : bool = false

func conditionChecker() -> bool:
	return Util.All([
		get_node("%Achievement").is_achieved("Ending1"),
		Global.G_score >= 50000
	])

func callback() -> void:
	is_achieved = false
	$"/root/Game/UILayer/AchievementsMenu/Achievement4/ColorRect".color.a = 0
